<%--
  Created by IntelliJ IDEA.
  User: MI
  Date: 2022/11/20
  Time: 13:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        *{
            margin: 0 auto;
        }
        #top{
            width: 300px;
            height: 200px;
        }
        .commit{
            margin: 0 auto;
            clear: both;
        }
    </style>
</head>
<body>
<div>
    <div id="top">
<form action="${pageContext.request.contextPath}/addMedicine" method="post">
    <div><table>
    <tr><td>药品名称:</td>
        <td><label><input name="name" type="text" placeholder="请输入药品名称"></label></td>
    </tr>
    <tr>
        <td>
        服用方法:
        </td>
        <td><label>
            <input name="mode" type="text" placeholder="请输入药品的用法">
        </label></td>
    </tr>
    <tr>
        <td>
            功&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp效:
        </td>
        <td><label>
            <input name="efficacy" type="text" placeholder="请输入药品的功效">
        </label></td>
    </tr>
    <tr>
        <td>
            价&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp格:
        </td>
        <td><label>
            <input name="price" type="number" placeholder="请输入药品的价格" value="1">
        </label></td>
    </tr>
    <tr>
        <td>
            进货数量:
        </td>
        <td><label>
            <input name="count" type="number" placeholder="请输入药品库存" value="1">
        </label></td>
    </tr>
    </table>
    </div>
    <div class="commit"style="text-align:center;">
        <input type="submit" value="提交">
    </div>
</form>
  </div>
</div>
</body>
</html>
